﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dycox.Validation
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
    public class ValidationBehaviorAttribute : Attribute
    {
        public ValidationBehaviorAttribute(ValidationBehavior behavior)
        {
            _behavior = behavior;
        }

        private readonly ValidationBehavior _behavior;

        public ValidationBehavior Behavior
        {
            get { return _behavior; }
        }

    }
}
